package com.oig.sys.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@Schema
@NoArgsConstructor
@AllArgsConstructor
public class ResourceQltmpVo {

    @Schema(description = "万能查询id")
    private Integer id;

    @Schema(description = "菜单id")
    @NotNull
    private Integer resourceId;

    @Schema(description = "万能查询保存的方案名")
    @NotEmpty
    private String queryName;

    @Schema(description = "万能查询方案所属用户")
    private Integer userId;

    @Schema(description = "查询条件json 对象")
    @NotEmpty
    private String queryJson;
}
